@import './var.scss';
body {
  background-color: $color-bg;
  font-size: $font-size-base;
  color: $color-text-primary;
  font-family: Source Han Sans CN;
}

input {
  -webkit-appearance: none;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  border-radius: 0;
}

a {
  -webkit-tap-highlight-color: inherit;
  text-decoration: none;
}

.btn {
  text-align: center;
  // width: 100%;
  box-sizing: border-box;
  border-radius: $radius-base;
  border: 1px solid transparent;
  box-shadow: 0 0 1px transparent;
  padding: $padding-btn;
  line-height: 1;
  font-size: $font-size-large;
  display: inline-block;
  text-decoration: none;
  transition:  $transition;
}
.addbtn {
  width: 90%;
  margin: 15px auto;
  background-color: #246fde;
  color: #ffffff;
}

.btn-primary {
  color: $color-white;
  background-color: $color-base;
  &[disabled='disabled'] {
    background-color: rgba($color-base, 0.7);
  }
}
.btn-light {
  background-color: $color-white;
  color: $color-base;
  border-color: $color-base;
  &:active {
    color: $color-white;
    background-color: $color-base;
  }
}
.btn-gray {
  background-color: $color-btn-content;
  border-color: $color-border;
  color: $color-text-label;
}
.btn-danger {
  background-color: $color-error;
  color: #fff;
  border-color: $color-error;
}



.btn-round {
  background-color: $color-white;
  color: $color-base;
  border-color: $color-base;
  border-radius: 148px;
}

.btn-small {
  font-size: $font-size-base;
  padding: 24px;
}

// 组件 transition 动画
// .fade-enter-active,
// .fade-leave-active {
//   transition: opacity 0.5s;
// }

// .fade-enter,
// .fade-leave-to {
//   opacity: 0;
// }

// input wrap 内容
.border-b {
  border-bottom: $border;
}
.form-group {
  display: flex;
  align-items: center;
  // background-color: #fff;
  .input-label {
    flex: 1 1 50%;
    font-size: $font-size-large;
    color: $color-text-title;
  }
}

input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  font-size: $font-size-base;
  line-height: 1;
  color: $color-text-primary;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0);
  appearance: none;
}
input.input_focus:focus {
  border: 1px solid $color-base;
}
input.input_focus:focus::-webkit-input-placeholder{
  color: $color-base;
}
.form-control-wrap {
  width: 100%;
  position: relative;
}
input:disabled,
input[disabled] {
  opacity: 1;
  -webkit-text-fill-color: $color-text-title;
  color: $color-text-title;
}

.form-control-wrap:after {
  content: ' ';
  display: inline-block;
  height: 36px;
  width: 36px;
  border-width: 2px 2px 0 0;
  border-color: $color-text-primary;
  border-style: solid;
  transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  position: absolute;
  top: 40%;
  right: 48px;
  margin-top: -4px;
}

select {
  appearance: none;
}
.data-picker1 .m-popover .m-popover-container {
  height: 82px !important;
}
::-webkit-scrollbar {
  // display: none;
}

.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  clear: both;
}
.common {
  min-height: 254px;
  margin: $padding-base;
  background-color: #fff;
  .tem_comm {
    width: 90%;
    margin: 0 auto;
    p {
      font-size: $font-size-base;
      color: #999;
    }
    .link_img{
      color: #0066FF;
    }
  }
  .title {
    height: 96px;
    line-height: 96px;
    border-bottom: 1px solid #dbdbdb;
  }
  .touxiang {
    height: 289px;
    border-bottom: 1px solid #dbdbdb;
    div {
      width: 160px;
      margin: 0 auto;
      .images {
        width: 160px;
        height: 160px;
        display: inline-block;
        vertical-align: middle;
        margin: 34px auto;
      }
    }
    p {
      font-size: 30px;
      text-align: center;
      color: $color-text-title;
    }
  }
  .point {
    padding: 32px 0;
    border-bottom: 1px dashed #ccc;
    &:last-child {
      border-bottom: 0;
    }
    span {
      display: inline-block;
      line-height: 38px;
    }
    .item {
      display: flex;
      align-items: center;
      padding: 10px 0;
    }
    .list_l {
      flex: 0 1 200px;
      color: $color-text-label;
      margin-right: 20px;
      text-align-last: justify;
    }
    .list_r_fix {
      padding-right: $padding-base * 8;
      box-sizing: border-box;
    }
    .list_l_width {
      flex: 0 1 150px;
    }
    .duiqi {

      width: 120px;
    }
    .list_r {
      flex: 1 0 62%;
      width: 62%;
      color: $color-text-title;
      word-wrap: break-word;
    }
    .person {
      margin: 33px 0;
      font-size: 30px;
      color: $color-text-title;
    }
  }
  .edu_list {
    position: relative;
    border-left: 1px dashed $color-help;
    margin-left: 52px;
    margin-top: 30px;
    .exper {
      margin: 0px 0 0 58px;
      p {
        color: $color-text-label;
        line-height: 40px;
      }
      .collage {
        color: $color-text-title;
      }
      .company {
        margin: 50px 0;
      }
    }
    .circle {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background-color: $color-help;
      position: absolute;
      left: -13px;
      top: 0;
    }
  }
  .text {
    line-height: 40px;
    padding-bottom: 20px;
    color: $color-text-label;
  }
  // 基础信息
  .baseinfo {
    position: relative;
    .icon-edit {
      position: absolute;
      right: 0;
      top: 0;
      z-index: 5;
      padding: $padding-base;
      color: #246fde;
    }
  }
}
.edit_btn_comm {
  position: absolute;
  width: 150px;
  right: 0px;
  top: 50px;
  color: #2e7ef7;
}
.tem_comm {
  position: relative;
  .group {
    position: absolute;
    top: -15px;
    right: 0;
    z-index: 5;
    .iconfont {
      display: inline-block;
      padding: $padding-base;
      color: #2e7ef7;
    }
    .icon-delete {
      color: $color-error;
    }
  }
}
// 基本信息维护 头部tab栏
.tab-wrap {
  display: flex;
  background-color:#149dee;
  color: #ffffff;
  div {
    flex: 5;
    text-align: center;
    padding: 25px 0;
    a {
      color: #fff;
    }
  }
  .active {
    background-color: #246fde;
    font-weight: 600;
  }
}
// when finger touch style
// a {
  // -webkit-tap-highlight-color: $color-base;
// }

